<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Core Plot (iOS): Source/CPTUtilities.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="core-plot-logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Core Plot (iOS)
   
   </div>
   <div id="projectbrief">Cocoa plotting framework for Mac OS X and iOS</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript" src="dynsections.js"></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Animation&#160;&&#160;Constants</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_c_p_t_utilities_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">Source/CPTUtilities.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_c_p_t_utilities_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#import &quot;<a class="code" href="_c_p_t_definitions_8h.html">CPTDefinitions.h</a>&quot;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span>
<a name="l00003"></a>00003 
<a name="l00005"></a>00005 
<a name="l00006"></a>00006 <span class="preprocessor">#if __cplusplus</span>
<a name="l00007"></a>00007 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00008"></a>00008 <span class="preprocessor">#endif</span>
<a name="l00009"></a>00009 <span class="preprocessor"></span>
<a name="l00012"></a>00012 int8_t <a class="code" href="_c_p_t_utilities_8h.html#af1b1773a3749df0597fcdfaca9a93718" title="Converts an NSDecimal value to an 8-bit integer.">CPTDecimalCharValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00013"></a>00013 int16_t <a class="code" href="_c_p_t_utilities_8h.html#af541b78435bd6954522ea69d59e0549b" title="Converts an NSDecimal value to a 16-bit integer.">CPTDecimalShortValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00014"></a>00014 int32_t <a class="code" href="_c_p_t_utilities_8h.html#aa77e18a004fab76d1bffa9cb602977b3" title="Converts an NSDecimal value to a 32-bit integer.">CPTDecimalLongValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00015"></a>00015 int64_t <a class="code" href="_c_p_t_utilities_8h.html#a63cff45777b63382e57cb735018a9a38" title="Converts an NSDecimal value to a 64-bit integer.">CPTDecimalLongLongValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00016"></a>00016 <span class="keywordtype">int</span> <a class="code" href="_c_p_t_utilities_8h.html#a9df871890b9cedb5cae4787775e17252" title="Converts an NSDecimal value to an int.">CPTDecimalIntValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00017"></a>00017 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSInteger</a> <a class="code" href="_c_p_t_utilities_8h.html#a72d99fc7ddcdc1006e5e49108d0cd809" title="Converts an NSDecimal value to an NSInteger.">CPTDecimalIntegerValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 uint8_t <a class="code" href="_c_p_t_utilities_8h.html#a72a99bddbab76461d4f2e3b741aab535" title="Converts an NSDecimal value to an unsigned 8-bit integer.">CPTDecimalUnsignedCharValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00020"></a>00020 uint16_t <a class="code" href="_c_p_t_utilities_8h.html#a00cd4fa9bc439191406e291fcc1d73cb" title="Converts an NSDecimal value to an unsigned 16-bit integer.">CPTDecimalUnsignedShortValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00021"></a>00021 uint32_t <a class="code" href="_c_p_t_utilities_8h.html#a9cde6ebaf91c8fe7f90c0550734586a0" title="Converts an NSDecimal value to an unsigned 32-bit integer.">CPTDecimalUnsignedLongValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00022"></a>00022 uint64_t <a class="code" href="_c_p_t_utilities_8h.html#aac297dcc70a6e086654339da0e626a5c" title="Converts an NSDecimal value to an unsigned 64-bit integer.">CPTDecimalUnsignedLongLongValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00023"></a>00023 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> <a class="code" href="_c_p_t_utilities_8h.html#adcbdbd10791c880ee51e1c1e47929df1" title="Converts an NSDecimal value to an unsigned int.">CPTDecimalUnsignedIntValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00024"></a>00024 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a> <a class="code" href="_c_p_t_utilities_8h.html#af9a02673f40413173f4ed6915a107362" title="Converts an NSDecimal value to an NSUInteger.">CPTDecimalUnsignedIntegerValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00025"></a>00025 
<a name="l00026"></a>00026 <span class="keywordtype">float</span> <a class="code" href="_c_p_t_utilities_8h.html#ae975df8171015ce0f466726e71f26f0d" title="Converts an NSDecimal value to a float.">CPTDecimalFloatValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00027"></a>00027 <span class="keywordtype">double</span> <a class="code" href="_c_p_t_utilities_8h.html#a5ed2ce247bc38d2b436ddb5db5f956a0" title="Converts an NSDecimal value to a double.">CPTDecimalDoubleValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00028"></a>00028 CGFloat <a class="code" href="_c_p_t_utilities_8h.html#a4cbe3c7b322be2c7fdbe445c1af9b87f" title="Converts an NSDecimal value to a CGFloat.">CPTDecimalCGFloatValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<a class="code" href="_c_p_t_utilities_8h.html#a5b35d9676fb874067f556ace3e0e1455" title="Converts an NSDecimal value to an NSString.">CPTDecimalStringValue</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> decimalNumber);
<a name="l00031"></a>00031 
<a name="l00033"></a>00033 
<a name="l00036"></a>00036 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a81353fb234909d9b7d491210b904f6f4" title="Converts an 8-bit integer value to an NSDecimal.">CPTDecimalFromChar</a>(int8_t i);
<a name="l00037"></a>00037 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a18f20748526508d138192c75f490ccdd" title="Converts a 16-bit integer value to an NSDecimal.">CPTDecimalFromShort</a>(int16_t i);
<a name="l00038"></a>00038 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a7c08754252c04cf22bb375793048e137" title="Converts a 32-bit integer value to an NSDecimal.">CPTDecimalFromLong</a>(int32_t i);
<a name="l00039"></a>00039 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#ab7d7b876754072c9c41bbbf6890a901a" title="Converts a 64-bit integer value to an NSDecimal.">CPTDecimalFromLongLong</a>(int64_t i);
<a name="l00040"></a>00040 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a1e357f0a18b4d94f218b8a8afeeb3162" title="Converts an int value to an NSDecimal.">CPTDecimalFromInt</a>(<span class="keywordtype">int</span> i);
<a name="l00041"></a>00041 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#ac76a8b7404db9f17124e10f3c2d2c715" title="Converts an NSInteger value to an NSDecimal.">CPTDecimalFromInteger</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSInteger</a> i);
<a name="l00042"></a>00042 
<a name="l00043"></a>00043 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a059a5020dcbf6d62ce772002e29a8e18" title="Converts an unsigned 8-bit integer value to an NSDecimal.">CPTDecimalFromUnsignedChar</a>(uint8_t i);
<a name="l00044"></a>00044 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a2964d83bf11ac682a07702c466d7d147" title="Converts an unsigned 16-bit integer value to an NSDecimal.">CPTDecimalFromUnsignedShort</a>(uint16_t i);
<a name="l00045"></a>00045 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a9e0de85cd00d4e874b64037f4c6ca900" title="Converts an unsigned 32-bit integer value to an NSDecimal.">CPTDecimalFromUnsignedLong</a>(uint32_t i);
<a name="l00046"></a>00046 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#aef8f88dc07c2d46150198b4d13618308" title="Converts an unsigned 64-bit integer value to an NSDecimal.">CPTDecimalFromUnsignedLongLong</a>(uint64_t i);
<a name="l00047"></a>00047 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#adb5c145464ebbc87bef7b33f2431fdc3" title="Converts an unsigned int value to an NSDecimal.">CPTDecimalFromUnsignedInt</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> i);
<a name="l00048"></a>00048 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a1970a76e2fccbfcf42c75b6f919220f0" title="Converts an NSUInteger value to an NSDecimal.">CPTDecimalFromUnsignedInteger</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSUInteger</a> i);
<a name="l00049"></a>00049 
<a name="l00050"></a>00050 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a0f6ee8401b3f93ded7b132adbda639e7" title="Converts a float value to an NSDecimal.">CPTDecimalFromFloat</a>(<span class="keywordtype">float</span> f);
<a name="l00051"></a>00051 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a276093946edc6466a5886b116860c2ac" title="Converts a double value to an NSDecimal.">CPTDecimalFromDouble</a>(<span class="keywordtype">double</span> d);
<a name="l00052"></a>00052 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#ad1a6f7e9240714fecd7ff35661cd1dc6" title="Converts a CGFloat value to an NSDecimal.">CPTDecimalFromCGFloat</a>(CGFloat f);
<a name="l00053"></a>00053 
<a name="l00054"></a>00054 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#ae35782b504e6aa284cc322a40bb5a2fd" title="Parses a string and extracts the numeric value as an NSDecimal.">CPTDecimalFromString</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *stringRepresentation);
<a name="l00055"></a>00055 
<a name="l00057"></a>00057 
<a name="l00060"></a>00060 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a985b63fe956e796f53954a568487b522" title="Adds two NSDecimals together.">CPTDecimalAdd</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> leftOperand, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> rightOperand);
<a name="l00061"></a>00061 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a397872f689275f5db199097a5a4bf8ee" title="Subtracts one NSDecimal from another.">CPTDecimalSubtract</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> leftOperand, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> rightOperand);
<a name="l00062"></a>00062 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a66a98d0312337dd95a4f67356d773631" title="Multiplies two NSDecimals together.">CPTDecimalMultiply</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> leftOperand, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> rightOperand);
<a name="l00063"></a>00063 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a59d907ee85b5444b8d8f1582dbe130f9" title="Divides one NSDecimal by another.">CPTDecimalDivide</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> numerator, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> denominator);
<a name="l00064"></a>00064 
<a name="l00066"></a>00066 
<a name="l00069"></a>00069 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> <a class="code" href="_c_p_t_utilities_8h.html#a7e3a75ad957c6a27143640ecf12de2d9" title="Checks to see if one NSDecimal is greater than another.">CPTDecimalGreaterThan</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> leftOperand, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> rightOperand);
<a name="l00070"></a>00070 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> <a class="code" href="_c_p_t_utilities_8h.html#af4e45c66f5240be4a5c9008b9843ce28" title="Checks to see if one NSDecimal is greater than or equal to another.">CPTDecimalGreaterThanOrEqualTo</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> leftOperand, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> rightOperand);
<a name="l00071"></a>00071 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> <a class="code" href="_c_p_t_utilities_8h.html#a4cbfa11dc195d68b2676ac45b50977d8" title="Checks to see if one NSDecimal is less than another.">CPTDecimalLessThan</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> leftOperand, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> rightOperand);
<a name="l00072"></a>00072 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> <a class="code" href="_c_p_t_utilities_8h.html#ad6d13568d3edab7885529a7aeaff9b8f" title="Checks to see if one NSDecimal is less than or equal to another.">CPTDecimalLessThanOrEqualTo</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> leftOperand, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> rightOperand);
<a name="l00073"></a>00073 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html">BOOL</a> <a class="code" href="_c_p_t_utilities_8h.html#aa0dcfeef1561c28740019f72f9405526" title="Checks to see if one NSDecimal is equal to another.">CPTDecimalEquals</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> leftOperand, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> rightOperand);
<a name="l00074"></a>00074 
<a name="l00076"></a>00076 
<a name="l00079"></a>00079 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSDecimal</a> <a class="code" href="_c_p_t_utilities_8h.html#a60c0cc1078e99634848563d9e69f4efc" title="Creates and returns an NSDecimal struct that represents the value &quot;not a number&quot;.">CPTDecimalNaN</a>(<span class="keywordtype">void</span>);
<a name="l00080"></a>00080 
<a name="l00082"></a>00082 
<a name="l00085"></a>00085 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSRange</a> <a class="code" href="_c_p_t_utilities_8h.html#a794f89cd14d4cfb21bf8c050b2df8237" title="Expands an NSRange by the given amount.">CPTExpandedRange</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSRange</a> range, <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_DataTypes/Reference/reference.html">NSInteger</a> expandBy);
<a name="l00086"></a>00086 
<a name="l00088"></a>00088 
<a name="l00091"></a>00091 <a class="code" href="_c_p_t_definitions_8h.html#a10709b6abd0a9ee1769345ef51b2fcd7" title="Enumeration of axis coordinates.">CPTCoordinate</a> <a class="code" href="_c_p_t_utilities_8h.html#afeb1ea1e2d6486b67ef47c4bf8e3661f" title="Determines the CPTCoordinate that is orthogonal to the one provided.">CPTOrthogonalCoordinate</a>(<a class="code" href="_c_p_t_definitions_8h.html#a10709b6abd0a9ee1769345ef51b2fcd7" title="Enumeration of axis coordinates.">CPTCoordinate</a> coord);
<a name="l00092"></a>00092 
<a name="l00094"></a>00094 
<a name="l00097"></a>00097 <a class="code" href="struct___c_p_t_r_g_b_a_color.html" title="RGBA color for gradients.">CPTRGBAColor</a> <a class="code" href="_c_p_t_utilities_8h.html#a344d9cc450b8f69583b387bc0c5d29cd" title="Extracts the color information from a CGColorRef and returns it as a CPTRGBAColor.">CPTRGBAColorFromCGColor</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGColor/Reference/reference.html#//apple_ref/doc/c_ref/CGColorRef.html">CGColorRef</a> color);
<a name="l00098"></a>00098 
<a name="l00100"></a>00100 
<a name="l00103"></a>00103 <a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a> <a class="code" href="_c_p_t_utilities_8h.html#a0c8d770c2fa665ed305989b481333896" title="Aligns a point in user space to integral coordinates in device space.">CPTAlignPointToUserSpace</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a> context, <a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a> p);
<a name="l00104"></a>00104 <a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGSize.html">CGSize</a> <a class="code" href="_c_p_t_utilities_8h.html#a6d82f91117b62e8d17f0b289a2139a8a" title="Adjusts a size in user space to integral dimensions in device space.">CPTAlignSizeToUserSpace</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a> context, <a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGSize.html">CGSize</a> s);
<a name="l00105"></a>00105 <a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGRect.html">CGRect</a> <a class="code" href="_c_p_t_utilities_8h.html#a030acdcbf883d6a16e03258c48c8be19" title="Aligns a rectangle in user space to integral coordinates in device space.">CPTAlignRectToUserSpace</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a> context, <a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGRect.html">CGRect</a> r);
<a name="l00106"></a>00106 
<a name="l00107"></a>00107 <a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a> <a class="code" href="_c_p_t_utilities_8h.html#ac3d19ecc95afb616f52344ad45d8c3b3" title="Aligns a point in user space between integral coordinates in device space.">CPTAlignIntegralPointToUserSpace</a>(<a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Reference/CGContext/Reference/reference.html#//apple_ref/doc/c_ref/CGContextRef.html">CGContextRef</a> context, <a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a> p);
<a name="l00108"></a>00108 
<a name="l00110"></a>00110 
<a name="l00113"></a>00113 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<a class="code" href="_c_p_t_utilities_8h.html#aedaaa162648bc0dc9f186998fdd67dbb" title="Creates a string representation of the given point.">CPTStringFromPoint</a>(<a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGPoint.html">CGPoint</a> p);
<a name="l00114"></a>00114 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<a class="code" href="_c_p_t_utilities_8h.html#adcdd93e329eee9eba136f27ddc2c735f" title="Creates a string representation of the given size.">CPTStringFromSize</a>(<a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGSize.html">CGSize</a> s);
<a name="l00115"></a>00115 <a class="codeRef" href="http://developer.apple.com/iphone/library/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html">NSString</a> *<a class="code" href="_c_p_t_utilities_8h.html#a4fe15dc4f56e08d4cb0e6e0480f7a72d" title="Creates a string representation of the given rectangle.">CPTStringFromRect</a>(<a class="codeRef" href="http://developer.apple.com/iPhone/library/documentation/GraphicsImaging/Reference/CGGeometry/Reference/reference.html#//apple_ref/doc/c_ref/CGRect.html">CGRect</a> r);
<a name="l00116"></a>00116 
<a name="l00118"></a>00118 
<a name="l00119"></a>00119 <span class="preprocessor">#if __cplusplus</span>
<a name="l00120"></a>00120 <span class="preprocessor"></span>}
<a name="l00121"></a>00121 <span class="preprocessor">#endif</span>
</pre></div></div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_c_p_t_utilities_8h.html">CPTUtilities.h</a>      </li>

    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a></li>
   </ul>
 </div>


</body>
</html>
